//
//  GRHotCityHeaderView.m
//  YC_GRice
//
//  Created by Feng Liu on 2018/8/27.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRHotCityHeaderView.h"

@implementation GRHotCityHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.contentView.backgroundColor = KGMBACKGROUND_COLOR;
        WEAKSELF
        _titleLabel = [[UILabel alloc] init];
        _titleLabel.textColor = HEXCOLOR(0x999999);
        _titleLabel.font        = [UIFont systemFontOfSize:14];
        [self addSubview:_titleLabel];
        [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(weakSelf.mas_left).offset(15);
            make.bottom.and.right.mas_equalTo(weakSelf);
            make.height.mas_equalTo(40);
        }];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
